package com.example.communitypro.service;

import com.example.communitypro.pojo.CommunityManagement;
import com.example.communitypro.util.result.Result;

public interface CommunityManagementService {

    Result addCommunityManagement(CommunityManagement record);

    Result dropCommunityManagementByUserAndCommunity(Integer userNO,Integer communityNo);

    Result dropCommunityManagementByPrimaryKey(Integer managementNo);

    Result queryByUser(Integer userNo);

    Result queryByCommunity(Integer communityNo);
}
